package com.cn.mapper;

import com.cn.pojo.Department;
import org.apache.ibatis.annotations.Select;

/**
 * 7.3.3 多对一查询 多个员工对应一个部门
 */
public interface DepartmentMapper {
    @Select("select * from department where d_id = #{id}")
    Department findDepartmentById(Integer id);
}
